import { _decorator, Component, Node } from 'cc';
import { Core } from '../core/Core';
import { EGameEvent } from '../core/Config';
const { ccclass, property } = _decorator;

@ccclass('EndView')
export class EndView extends Component {
    start() {

    }

    update(deltaTime: number) {
        
    }

    private onYesClick() {
        Core.instance.event.emit(EGameEvent.GAME_END);
    }
}


